﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Ocean.His.MedicalInsurance
{
    [DataContract]
    public class SI9101Data
    {
        [DataMember(Name = "in")]
        public byte[] In { get; set; }

        [DataMember(Name = "filename")]
        public string Filename { get; set; }

        [DataMember(Name = "fixmedins_code")]
        public string FixmedinsCode { get; set; }
    }

    [DataContract]
    public class SI9101InputModel
    {
        [DataMember(Name = "fsUploadIn")]
        public SI9101Data SI9101Data { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class SI9101RequestModel : SIBaseRequestModel
    {
        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI9101InputModel Input { get; set; }

        public SI9101RequestModel(MedicalInsuranceOption medicalInsuranceOption) : base(medicalInsuranceOption)
        {
            Infno = "9101";
        }
    }
}
